import request from './request';

/**
 * 获取选项列表
 * @param {Object} params 查询参数 { constitution: 体质ID }
 * @returns {Promise}
 */
export const getChoiceList = (params) => {
  return request({
    url: '/choice/choice/details',
    method: 'get',
    params
  });
};